package org.ehe.business.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.ehe.business.project.domain.ProjectDifficultyConfigEntity;

import java.util.List;

/**
 * @author :zhangnn
 * @className :ProjectdifficultyConfigService
 * @description: TODO
 * @date 2025-07-17 16:50:30
 */
public interface ProjectDifficultyConfigService extends IService<ProjectDifficultyConfigEntity> {
    /**
     * 根据ID获取项目难度信息
     * @param difficulty
     * @return
     */
    ProjectDifficultyConfigEntity getByDifficulty(String difficulty);

    /**
     * 获取列表
     * @return
     */
    List<ProjectDifficultyConfigEntity> queryList();

    /**
     * 获取全部困难度列表
     * @param configEntity
     * @return
     */
    List<ProjectDifficultyConfigEntity> queryConfigList(ProjectDifficultyConfigEntity configEntity);

    String saveDifficultConfig(ProjectDifficultyConfigEntity configEntity);

    /**
     * 修改
     * @param configEntity
     * @return
     */
    String updateDifficultConfig(ProjectDifficultyConfigEntity configEntity);

    boolean deleteConfig(Long id);
}
